<?php
function response($status = 0, $message = '') {
    $data = [
        'status' => $status,
        'message' => $message
    ];
    return json_encode($data);
}